﻿<%@ Page Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true" CodeFile="RequestDetail.aspx.cs"
    Inherits="RequestDetail" Title="Untitled Page" %>

<%@ Register Src="Menu_Slide.ascx" TagName="Menu_Slide" TagPrefix="uc1" %>
<%@ Register Src="Menu_Left.ascx" TagName="Menu_Left" TagPrefix="uc2" %>

<%@ Register Src="Log_in.ascx" TagName="Log_in" TagPrefix="uc4" %>
<%@ Register Src="Log_out.ascx" TagName="Log_out" TagPrefix="uc5" %>
<%@ Register Src="Service_.ascx" TagName="Service_" TagPrefix="uc6" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Menu_Slide" runat="Server">
    <uc1:Menu_Slide ID="Menu_Slide1" runat="Server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Services" runat="Server">
    <uc6:Service_ ID="Service_1" runat="server" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="Menu_Left" runat="Server">
    <uc2:Menu_Left ID="Menu_Left1" runat="server" />
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="Main_Containt" runat="Server">
    <div id="main_right">
        <div class="title_right">
            REQUEST FORM
        </div>
        <div class="content_right">
            <div class="floatcenter">
                <asp:Label ID="lblError" class="lbl_error" runat="server"></asp:Label>
                <div class="clearboth">
                </div>
            </div>
            <br />
            <span class="label_request">Date:</span> <span class="input_request" style="position: relative;">
                <asp:Label ID="lblShowDate" runat="server" Text="Label" Width="90px"></asp:Label>
                <asp:ImageButton ImageUrl="~/images/iconcalendar.png" border="0" Width="23px" Height="22px"
                    ID="imgCalendarButton" runat="server" ImageAlign="Middle" OnClick="imgCalendarButton_Click" />
                <asp:Calendar ID="cldDateRequest" runat="server" Style="z-index: 100; position: absolute;"
                    BackColor="#FFFFCC" BorderColor="#FFCC66" BorderWidth="1px" DayNameFormat="Shortest"
                    Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399" Height="200px" OnSelectionChanged="cldDateRequest_SelectionChanged"
                    ShowGridLines="True" Width="220px">
                    <SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
                    <SelectorStyle BackColor="#FFCC66" />
                    <TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
                    <OtherMonthDayStyle ForeColor="#CC9966" />
                    <NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
                    <DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" />
                    <TitleStyle BackColor="#990000" Font-Bold="True" Font-Size="9pt" ForeColor="#FFFFCC" />
                </asp:Calendar>
            </span><span class="label_request">Voucher No:</span> <span class="input_request"
                style="width: 150px;">
                <asp:TextBox ID="txtVoucherNo" class="txt_input1" Style="width: 140px;" runat="server"></asp:TextBox></span>
            <br clear="all" />
            <span class="label_request">Quantity:</span> <span class="input_request">
                <asp:TextBox ID="txtQuantity" class="txt_input1" runat="server"></asp:TextBox>
            </span><span class="label_request">Amount:</span> <span class="input_request" style="width: 150px;">
                <asp:TextBox ID="txtAmount" class="txt_input1 floatleft" Style="width: 87px;"
                    runat="server"></asp:TextBox>
                <asp:DropDownList ID="cbbVndUsd" Style="height: 19px; width: 50px; font-size: 7.5px;" CssClass="select_birth_day floatleft"
                    runat="server">
                    <asp:ListItem Selected="True" Value="1">USD</asp:ListItem>
                    <asp:ListItem  Value="2">VND</asp:ListItem>
                </asp:DropDownList>
            </span>
            <br clear="all" />
            <span class="label_request">Ex.Rate:</span> <span class="input_request">
                <asp:TextBox ID="txtExRate" class="txt_input1" runat="server"></asp:TextBox>
            </span><span class="label_request">% VAT:</span> <span class="input_request">
                <asp:TextBox ID="txtVAT" class="txt_input1" runat="server" Style="width: 140px;"></asp:TextBox></span>
            <br clear="all" />
            <span class="label_request">Details:</span> <span class="text_bds">
                <asp:TextBox ID="txtDetail" class="textarea" TextMode="MultiLine" runat="server"></asp:TextBox></span>
            <br clear="all" />
            <p align="right">
                <asp:Button ID="btnNew" class="btnSignIn" runat="server" Text="New" OnClick="btnNew_Click" />
                <asp:Button ID="btnDelete" class="btnSignIn" runat="server" Text="Delete" OnClick="btnDelete_Click" />
                <asp:Button ID="btnSave" class="btnSignIn" runat="server" Text="Save" OnClick="btnSave_Click" />
            </p>
            <div class="line_blue">
            </div>
            <h3 align="left">
                Details of your request</h3>
            <div style="display: auto; overflow: scroll; width: 730px; height: 300px;">
                <asp:GridView ID="grdRequestDetail" runat="server" AutoGenerateSelectButton="True"
                    CellPadding="4" ForeColor="#333333" GridLines="None" OnSelectedIndexChanged="grdRequestDetail_SelectedIndexChanged"
                    Width="1024px">
                    <RowStyle BackColor="#EFF3FB" />
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
            </div>
            <br />
            <div class="line_blue">
            </div>
            <p align="right">
                <asp:Button ID="btnNext" class="btnSignIn" runat="server" Text="Next" 
                    onclick="btnNext_Click" />
            </p>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="Login_out_info" runat="Server">
    <uc4:Log_in ID="Log_in1" runat="server" />
    <uc5:Log_out ID="Log_out1" runat="server" />
</asp:Content>

